import {post} from '../request'

const login = {
    login(users){
        return post('/login',users)
    },
    register(users){
        return post('/register',users)
    }
}

export default login;